package com.gnerv.sylvanas.framework.plugin.os;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OsJavaService {

    public String name() {
        return System.getProperty("java.vm.name");
    }

    public String version() {
        return System.getProperty("java.vm.version");
    }

    public String home() {
        return System.getProperty("java.home");
    }

    public String vendor() {
        return System.getProperty("java.vm.vendor");
    }

}
